<?php

namespace AdminBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * SymbolAmplitude
 *
 * @ORM\Table(name="symbol_amplitude")
 * @ORM\Entity
 */
class SymbolAmplitude
{
    /**
     * @var string
     *
     * @ORM\Column(name="coin", type="string", length=45, nullable=false)
     */
    private $coin = '';

    /**
     * @var integer
     *
     * @ORM\Column(name="time_stamp", type="integer", nullable=false)
     */
    private $timeStamp = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="period", type="string", length=45, nullable=false)
     */
    private $period = '';

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="ctime", type="datetime", nullable=false)
     */
    private $ctime = 'CURRENT_TIMESTAMP';

    /**
     * @var float
     *
     * @ORM\Column(name="btc_up_5_ration", type="float", precision=10, scale=0, nullable=false)
     */
    private $btcUp5Ration = '0';

    /**
     * @var float
     *
     * @ORM\Column(name="btc_down_5_ratio", type="float", precision=10, scale=0, nullable=false)
     */
    private $btcDown5Ratio = '0';

    /**
     * @var float
     *
     * @ORM\Column(name="up_5_ratio", type="float", precision=10, scale=0, nullable=false)
     */
    private $up5Ratio = '0';

    /**
     * @var float
     *
     * @ORM\Column(name="down_5_ratio", type="float", precision=10, scale=0, nullable=false)
     */
    private $down5Ratio = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;



    /**
     * Set coin
     *
     * @param string $coin
     *
     * @return SymbolAmplitude
     */
    public function setCoin($coin)
    {
        $this->coin = $coin;

        return $this;
    }

    /**
     * Get coin
     *
     * @return string
     */
    public function getCoin()
    {
        return $this->coin;
    }

    /**
     * Set timeStamp
     *
     * @param integer $timeStamp
     *
     * @return SymbolAmplitude
     */
    public function setTimeStamp($timeStamp)
    {
        $this->timeStamp = $timeStamp;

        return $this;
    }

    /**
     * Get timeStamp
     *
     * @return integer
     */
    public function getTimeStamp()
    {
        return $this->timeStamp;
    }

    /**
     * Set period
     *
     * @param string $period
     *
     * @return SymbolAmplitude
     */
    public function setPeriod($period)
    {
        $this->period = $period;

        return $this;
    }

    /**
     * Get period
     *
     * @return string
     */
    public function getPeriod()
    {
        return $this->period;
    }

    /**
     * Set ctime
     *
     * @param \DateTime $ctime
     *
     * @return SymbolAmplitude
     */
    public function setCtime($ctime)
    {
        $this->ctime = $ctime;

        return $this;
    }

    /**
     * Get ctime
     *
     * @return \DateTime
     */
    public function getCtime()
    {
        return $this->ctime;
    }

    /**
     * Set btcUp5Ration
     *
     * @param float $btcUp5Ration
     *
     * @return SymbolAmplitude
     */
    public function setBtcUp5Ration($btcUp5Ration)
    {
        $this->btcUp5Ration = $btcUp5Ration;

        return $this;
    }

    /**
     * Get btcUp5Ration
     *
     * @return float
     */
    public function getBtcUp5Ration()
    {
        return $this->btcUp5Ration;
    }

    /**
     * Set btcDown5Ratio
     *
     * @param float $btcDown5Ratio
     *
     * @return SymbolAmplitude
     */
    public function setBtcDown5Ratio($btcDown5Ratio)
    {
        $this->btcDown5Ratio = $btcDown5Ratio;

        return $this;
    }

    /**
     * Get btcDown5Ratio
     *
     * @return float
     */
    public function getBtcDown5Ratio()
    {
        return $this->btcDown5Ratio;
    }

    /**
     * Set up5Ratio
     *
     * @param float $up5Ratio
     *
     * @return SymbolAmplitude
     */
    public function setUp5Ratio($up5Ratio)
    {
        $this->up5Ratio = $up5Ratio;

        return $this;
    }

    /**
     * Get up5Ratio
     *
     * @return float
     */
    public function getUp5Ratio()
    {
        return $this->up5Ratio;
    }

    /**
     * Set down5Ratio
     *
     * @param float $down5Ratio
     *
     * @return SymbolAmplitude
     */
    public function setDown5Ratio($down5Ratio)
    {
        $this->down5Ratio = $down5Ratio;

        return $this;
    }

    /**
     * Get down5Ratio
     *
     * @return float
     */
    public function getDown5Ratio()
    {
        return $this->down5Ratio;
    }

    /**
     * Get id
     *
     * @return integer
     */
    public function getId()
    {
        return $this->id;
    }
}
